package com.sushi.config;


import org.mybatis.spring.SqlSessionFactoryBean;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.PropertySource;

@PropertySource("classpath:jdbc.properties")
public class MybatisConfig {
    @Bean
    public SqlSessionFactoryBean getSqlSessionFB() {
        SqlSessionFactoryBean sf = new SqlSessionFactoryBean();
        sf.setTypeAliasesPackage("com.sushi.bean.Student");
//        sf.setDataSource();
        return null;
    }

}
